import Layout from '@/layouts';

export default [
  {
    path: '/kjpt',
    component: Layout,
    redirect: '/kjpt/home',
    meta: {
      title: '科技平台',
      isOrNot: true,
      // icon: 'view-module',
    },
    children: [
      {
        path: 'home',
        component: () => import('@/pages/kjpt/home.vue'),
        meta: {title: '首页', icon: 'view-module'},
      },
      {
        path: 'platform',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/kjpt/platform/platform-index',
        meta: { title: '平台管理', icon: 'view-module'},
        children: [
          {
            path: 'platform-index',
            component: () => import('@/pages/kjpt/platform/platform-index.vue'),
            meta: { title: '平台列表'},
          },
          {
            path: 'platform-my',
            component: () => import('@/pages/kjpt/platform/platform-my.vue'),
            meta: { title: '我的平台'},
          },
          {
            path: 'innovation-studio-list',
            component: () => import('@/pages/kjpt/platform/innovation-studio-list.vue'),
            meta: { title: '创新工作室列表'},
          },
          {
            path: 'innovation-studio-my',
            component: () => import('@/pages/kjpt/platform/innovation-studio-my.vue'),
            meta: { title: '我的创新工作室'},
          },
          {
            path: 'innovation-studio-apply',
            component: () => import('@/pages/kjpt/platform/innovation-studio-apply.vue'),
            meta: {title: '申报创新工作室', hidden: true,isAlive: false, activeMenu: '/kjpt/apply/innovation-studio-my'},
          },

          // {
          //   path: 'defend3',
          //   component: () => import('@/pages/blank.vue'),
          //   meta: { title: '申报认定'},
          // },
        ]
      },
      {
        path: 'runManagement',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/kjpt/runManagement/people/people-list',
        meta: { title: '运行管理', icon: 'view-module'},
        children: [
          // {
          //   path: 'defend1',
          //   component: () => import('@/pages/blank.vue'),
          //   meta: { title: '人员管理'},
          // },

          {
            path: 'pt-list',
            component: () => import('@/pages/kjpt/runManagement/pt-list.vue'),
            meta: { title: '平台运行信息'},
          },
          {
            path: "pt-my",
            component: () => import('@/pages/kjpt/runManagement/pt-my.vue'),
            meta: { title: '我的平台信息'},
          },
          {
            path: 'people-list',
            component: () => import('@/pages/kjpt/runManagement/people/people-list.vue'),
            meta: { title: '人员列表'},
          },
          {
            path: 'people-my',
            component: () => import('@/pages/kjpt/runManagement/people/people-my.vue'),
            meta: { title: '我的人员'},
          },
          {
            path: 'funding-list',
            component: () => import('@/pages/kjpt/runManagement/funding/funding-list.vue'),
            meta: { title: '经费列表'},
          },
          {
            path: 'funding-my',
            component: () => import('@/pages/kjpt/runManagement/funding/funding-my.vue'),
            meta: { title: '我的经费'},
          },
          {
            path: 'equipment-list',
            component: () => import('@/pages/kjpt/runManagement/equipment/list.vue'),
            meta: { title: '设备列表'},
          },
          {
            path: 'equipment-my',
            component: () => import('@/pages/kjpt/runManagement/equipment/myList.vue'),
            meta: { title: '我的设备'},
          },
          {
            path: 'project-list',
            component: () => import('@/pages/kjpt/runManagement/haveProject/list.vue'),
            meta: { title: '承担项目列表'},
          },
          {
            path: 'project-my',
            component: () => import('@/pages/kjpt/runManagement/haveProject/myList.vue'),
            meta: { title: '我的承担项目'},
          },
          {
            path: 'achievement-list',
            component: () => import('@/pages/kjpt/runManagement/achievement/list.vue'),
            meta: { title: '成果列表'},
          },
          {
            path: 'achievement-my',
            component: () => import('@/pages/kjpt/runManagement/achievement/myList.vue'),
            meta: { title: '我的成果'},
          },
          {
            path: 'platformReport-list',
            component: () => import('@/pages/kjpt/runManagement/platformReport/platformReport-list.vue'),
            meta: { title: '评估报告列表'},
          },
          {
            path: 'platformReport-myList',
            component: () => import('@/pages/kjpt/runManagement/platformReport/platformReport-myList.vue'),
            meta: { title: '我的评估报告'},
          },
          {
            path: 'platformReport-apply',
            component: () => import('@/pages/kjpt/runManagement/platformReport/platformReport-apply.vue'),
            meta: {title: '添加评估报告', hidden: true,isAlive: false, activeMenu: '/kjpt/platformReport/platformReport-my'},
          }

        ]
      },
      {
        path: 'defend3',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/kjpt/defend3/defend1',
        meta: { title: '考核管理', icon: 'view-module'},
        children: [
          // {
          //   path: 'defend1',
          //   component: () => import('@/pages/blank.vue'),
          //   meta: { title: '配置管理'},
          // },
          // {
          //   path: 'defend2',
          //   component: () => import('@/pages/blank.vue'),
          //   meta: { title: '自评管理'},
          // },
          {
            path: 'defend3',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '考评认定'},
          },
          // {
          //   path: 'defend4',
          //   component: () => import('@/pages/blank.vue'),
          //   meta: { title: '评估报告'},
          // }
        ]
      },
      // {
      //   path: 'defend4',
      //   component: () => import('@/layouts/blank.vue'),
      //   redirect: '/kjpt/defend4/defend1',
      //   meta: { title: '综合管理', icon: 'view-module'},
      //   children: [
      //     {
      //       path: 'defend1',
      //       component: () => import('@/pages/blank.vue'),
      //       meta: { title: '信息查询'},
      //     },
      //     {
      //       path: 'defend2',
      //       component: () => import('@/pages/blank.vue'),
      //       meta: { title: '统计汇总'},
      //     },
      //     {
      //       path: 'defend3',
      //       component: () => import('@/pages/blank.vue'),
      //       meta: { title: '平台画像'},
      //     },
      //   ]
      // },
    ],

  },

];
